package main

import (
	"web/boot"
)

func main() {
	boot.InitDB()
	boot.InitLog()
	boot.InitServer()
	boot.InitRouters()
	boot.Run()
}
/*
//开启fdfs
sudo fdfs_storaged /etc/fdfs/storage.conf

sudo fdfs_trackerd /etc/fdfs/tracker.conf

sudo fdfs_upload_file /etc/fdfs/client.conf 01.jpeg  //上传文件

//配置nginx
sudo /usr/local/nginx/sbin/nginx -s stop

sudo vim /usr/local/nginx/conf/nginx.conf

//开启nginx
sudo /usr/local/nginx/sbin/nginx
*/